package com.qire.manhua.model.po;

import androidx.room.Entity;
import androidx.room.PrimaryKey;

/**
 * 漫画阅读历史记录
 */
@Entity
public class ComicReadHistoryRecord {

    @PrimaryKey(autoGenerate = true)//主键是否自动增长，默认为false
    private int id;

    private int comicId;

    private int lastReadTime;

    public ComicReadHistoryRecord(int comicId, int lastReadTime) {
        this.comicId = comicId;
        this.lastReadTime = lastReadTime;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getComicId() {
        return comicId;
    }

    public void setComicId(int comicId) {
        this.comicId = comicId;
    }

    public int getLastReadTime() {
        return lastReadTime;
    }

    public void setLastReadTime(int lastReadTime) {
        this.lastReadTime = lastReadTime;
    }
}
